package com.naire.modul.district.service;

import net.common.service.GeneralService;
import com.naire.modul.district.dao.DistrictDao;
import com.naire.modul.district.dao.impl.DistrictDaoImpl;
import com.naire.modul.district.vo.DistrictVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class DistrictDeleteService extends GeneralService {

	private DistrictVo bean;

	@Override
	public void execute() throws Exception {
		DistrictDao dao = new DistrictDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(DistrictVo bean) {
		this.bean = bean;
	}

}
